﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Ext.Master" AutoEventWireup="true"
    CodeBehind="Editor.aspx.cs" Inherits="MVCnExt.Views.Tree.Editor" %>

<asp:Content ID="manualContent" ContentPlaceHolderID="MainContent" runat="server">
    <mvc:ExtWindow ID="extWindow" autoHeight="true" title="Tree Example" width="200"
        runat="server">
        <items>
            <mvc:ExtTreePanel animate="true" border="false" enableDD="false" lines="true" autoScroll="true"
                containerScroll="false" rootVisible="false" runat="server" ID="ExtTree1">
                <root>
                    <mvc:ExtTreeNode id="root" text="Root" expanded="true" draggable="false">
                        <children>
                            <mvc:ExtTreeNode leaf="true" text="Asp.Net MVC">
                            </mvc:ExtTreeNode>
                            <mvc:ExtTreeNode leaf="true" text="Asp.Net">
                            </mvc:ExtTreeNode>
                            <mvc:ExtTreeNode text="ExtJs" id="extjs">
                                <children>
                                    <mvc:ExtTreeNode leaf="true" text="MVCnExt">
                                    </mvc:ExtTreeNode>
                                </children>
                            </mvc:ExtTreeNode>
                        </children>
                    </mvc:ExtTreeNode>
                </root>
                <loader>
                    <mvc:ExtTreeLoader></mvc:ExtTreeLoader>
                </loader>
            </mvc:ExtTreePanel>
        </items>
    </mvc:ExtWindow>
    <mvc:ExtTreeEditor ID="treeEditor" runat="server" targetID="ExtTree1" cancelOnEsc="true">
    </mvc:ExtTreeEditor>
     <mvc:ExtOnReady ID="windowOnReady" runat="server">
        <script>
            extWindow.show();
        </script>
    </mvc:ExtOnReady>
</asp:Content>
